package cn.dancepeak.course.service;

import cn.dancepeak.course.domain.Course;
import cn.dancepeak.course.query.CourseQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICourseServiceImpl {

    void add(Course course);

    void update(Course course);

    void delete(Long id);

    void deleteByList(List<Long> ids);

    Course getById(Long id);

    PageInfo<Course> page(CourseQuery courseQuery);

    List<Course> getCourse();
}
